package com.xdwanj.pojo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data                //生成getter,setter等函数
@NoArgsConstructor    //生成全参数构造函数
@AllArgsConstructor    //生成无参数构造函数
@Builder            //实现Builder设计模式
public class VacHistory {
    /**
     * 疫苗历史主键
     */
    private Integer id;

    /**
     * 宠物编号
     */
    private Integer Pid;

    /*--------------------------------------------*/
    /**
     * 疫苗1
     */
    private Integer vac1Num;
    private Date vac1Date;

    /**
     * 疫苗2
     */
    private Integer vac2Num;
    private Date vac2Date;

    /**
     * 疫苗3
     */
    private Integer vac3Num;
    private Date vac3Date;

    /**
     * 宠物主键
     */
    private Integer petId;
}
